package com.TestDemo.Test2;

/*
*  查看out中的值是否会运行
*  true execute
*
* */


public class TestOut {

    public static void main(String[] args) {
        int i=0;
        System.out.println(i++); // out 0 reality 1
        System.out.println(i); //  out 1   reality 1
        System.out.println(++i); // out 2  reality 2
        System.out.println(i++); // out 2  reality 3
        System.out.println(i--); // out 3  reality 2

        if(i++>0){    //  reality 3
            System.out.println(i++); // out 3 reality 4
            System.out.println(i--); // out 4  reality 3
            System.out.println(i); // out 3
        }
    }
}
